<?php
include "includes/sesiones.php";
include "includes/comunes.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<?php include "includes/metas.php";?>





<link type="text/css" rel="Stylesheet" href="validar/jquery.validity.css" />
<script type="text/javascript" src="validar/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="validar/jquery.validity.min.js"></script>
<script type="text/javascript">
            $(function() {
                $("form").validity(function() {
                    $("#nombre").require("Ingrese el Nombre")
                    $("#apellido").require("Ingrese el Apellido")
                    $("#dni")
                    .require("Ingrese el Dni")
                    .match("number")
                    .maxLength( 8,"Ingrese el Nº con 8 digitos" )
                    $("#ingreso")
                    .require("Ingrese el Ingreso Mensual")
                    .match("number")
                    $("#telcel")
                    .require("Ingrese el Numero Celular")
                    .maxLength( 19,"El numero ingresado debe tener menos de 20 caracteres" )


                });
            });
        </script>


</head>

<body>
<div class="contenedor">
	<div class="cont">
    	<?php include "includes/head.php";?>
        <?php include "includes/menu.php";?>
            
    	<div class="novedadescont">
             <form id="form" name="form" method="post" action="validarclientes.php">
        	<div class="novedadestitulo">
            	<div class="menuvolver"> <a href="javascript:history.back(1)">Volver Atrás</a></div>
            </div>
                 <div class="novedadestitulo">
            	<div class="novetitulo2">Alta Rapida de Clientes</div>
            </div>
            <div class="formucont">
                
           	  <div class="formlinea">

                <div class="formtxt">Nombre</div>
                <div class="formtxt2">
                    <label for="form"></label>
                    <input name="nombre" id="nombre" type="text"  size="25" />
                  
                </div>
                
                </div>   
                
              <div class="formlinea">
                <div class="formtxt">Apellido</div>
                <div class="formtxt2">
                 
                    <label for="form"></label>
                    <input name="apellido" id="apellido" type="text"  size="25" />
                 
                </div>
                
                </div>
                
                
                
              <div class="formlinea">
                <div class="formtxt">Nº DNI</div>
                <div class="formtxt2">
                 <div class="ui-widget">
                    <label for="form"></label>
                    <input name="dni" id="dni" type="text" size="25" />
                 </div>
                </div>
                
                </div>
                
                
                
              <div class="formlinea">
                <div class="formtxt">Ingreso Mensual</div>
                <div class="formtxt2">
                 
                    <label for="form"></label>
                    <input name="ingreso" id="ingreso" type="text" size="25" />
                 
                </div>
                
                </div>
                
                
                
              <div class="formlinea">
                <div class="formtxt">Tel. Cel</div>
                <div class="formtxt2">
                  
                    <label for="form"></label>
                    <input name="telcel" type="text"  size="25" MAXLENGTH=19 required="required" placeholder="Sin 15 Eje. 03625620951"/>
                  
                </div>
                
                </div>
           
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <input name="guardar" class="bot" type="submit" value="Guardar" />
                <input name="crear" class="bot" type="submit" value="Crear Credito" />
                         
            </div>           
            
            
            
        	<div class="novedadesbottom"></div>
                </form>
        </div>
    
    
    
    
    <div class="separador"></div>
    <?php include "includes/menufooter.php";?>
    
    
    
	<div id="clearing"></div>    
    </div>
<div id="clearing"></div>
</div>
</body>
</html>
